package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.base.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

/**
 * 订单表 hatchet_order_payment
 * 
 * @author xj
 * @date 2019-02-20
 */
public class HatchetOrderPayment extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/**  */
	private String iD;
	/** 订单号 */
	@Excel(name = "订单号")
	private String orderNo;
	/** 交易处理码3域 */
	private String processingCode;
	/** 交易类型 */
	@Excel(name = "交易类型")
	private String tradeType;
	/** 银行卡号 */
	@Excel(name = "银行卡号")
	private String cardNo;
	/** 交易金额 */
	@Excel(name = "交易金额")
	private BigDecimal trxAmt;
	/**  */
	private String mOBILE;
	/** 交易状态 */
	@Excel(name = "交易状态")
	private String sTATUS;
	/**  */
	private Date createTime;
	/** 完成时间 */
	private Date completeTime;
	/** 备注 */
	private String nOTE;
	/** 交易时间 */
	private Date tradeTime;
	/** 原订单主键 */
	private String sourceId;
	/** 计划类型 */
	private String mTI;
	/** 二磁 */
	private String tRACK2;
	/** 三磁 */
	private String tRACK3;
	/** 返回码 */
	private String responseCode;
	/** 返回详情 */
	private String responseMsg;
	/** 通道返回码 */
	@Excel(name = "通道返回码")
	private String acqResponseCode;
	/** 通道返回详情 */
	@Excel(name = "通道返详情")
	private String acqResponseMsg;
	/** 终端批次号 */
	private String terminalBatchNo;
	/** 终端票据号也叫凭证号 */
	private String terminalVoucherNo;
	/** 终端参考号 */
	private String terminalRefNo;
	/** 终端授权码 */
	private String terminalAuthNo;
	/** 通道批次号 */
	private String acqBatchNo;
	/** 通道参考号 */
	private String acqRefNo;
	/** 通道授权码 */
	private String acqAuthNo;
	/** 卡Bin主键 */
	private String cardBinId;
	/** 应结算日期 */
	private Date shouldBalanceDate;
	/** 商户ID */
	private String merchantId;
	/** 结算商户ID */
	private String balanceMerchantId;
	/** 卡类型 */
	private String cardTypeId;
	/** 银行 */
	@Excel(name = "银行")
	private String issBankId;
	/** 代理商主键 */
	private String agentId;
	/** 终端ID */
	private String terminalId;
	/** 代付费 */
	private BigDecimal procedureFee;
	/** 费率 */
	@Excel(name = "费率")
	private BigDecimal rATE;
	/** 通道商户id */
	private String acqMerchantId;
	/** 通道终端ID */
	private String acqTerminalId;
	/** 通道终端流水号 */
	private String acqTraceNo;
	/** 通道ID */
	private String acqId;
	/** 创建人 */
	private String createUserId;
	/** 通道交易时间 */
	private Date acqTradeTime;
	/** 封顶金额 */
	private Integer maxFee;
	/** 清分状态 */
	@Excel(name = "清分状态")
	private String settleListStatus;
	/** 结算周期 */
	private Integer settleCycle;
	/**  */
	private Integer dC;
	/**  */
	private String departmentCode;
	/**  */
	private String trackNo;
	/**  */
	private String errorMessage;
	/** 支付下单下单时间 */
	private Date payPreOrderTime;
	/** 支付完成时间 */
	private Date payFinishTime;
	/** 支付返回码 */
	private String payResCode;
	/** 支付状态 */
	private String payStatus;
	/** 支付返回详情 */
	private String payResMsg;
	/**  */
	private String tradeSource;
	/**  */
	private String icSerNo;
	/**  */
	private String tradeTypeCode;
	/**  */
	private String serviceIfCode;
	/** 净收益 */
	private String netIncome;
	/** 0未躺赚未加权分红，1已躺赚未加权分红，2已躺赚已加权分红 */
	private String fLAG;
	//非数据库字段
	@Excel(name = "商户编号")
	private String merchantNo;
	@Excel(name = "商户名称")
	private String merchantName;
	@Excel(name = "代理商编号")
	private String agentNo;
	@Excel(name = "代理商名称")
	private String agentName;
	@Excel(name = "完成时间")
	private String time;
	@Excel(name = "通道编号")
	private String acqNo;
	@Excel(name = "通道名称")
	private String acqName;
	//临时查询字段 商户id集合
	private List<String> merchantIds;
	//临时字段 总金额
	private BigDecimal sumMoney;
	//临时字段 0 全部商户（包含直接间接） 1直接商户
	private Integer direct;
	
	public void setID(String iD) 
	{
		this.iD = iD;
	}

	public String getID() 
	{
		return iD;
	}
	public void setOrderNo(String orderNo) 
	{
		this.orderNo = orderNo;
	}

	public String getOrderNo() 
	{
		return orderNo;
	}
	public void setProcessingCode(String processingCode) 
	{
		this.processingCode = processingCode;
	}

	public String getProcessingCode() 
	{
		return processingCode;
	}
	public void setTradeType(String tradeType) 
	{
		this.tradeType = tradeType;
	}

	public String getTradeType() 
	{
		return tradeType;
	}
	public void setCardNo(String cardNo) 
	{
		this.cardNo = cardNo;
	}

	public String getCardNo() 
	{
		return cardNo;
	}
	public void setTrxAmt(BigDecimal trxAmt) 
	{
		this.trxAmt = trxAmt;
	}

	public BigDecimal getTrxAmt() 
	{
		return trxAmt;
	}
	public void setMOBILE(String mOBILE) 
	{
		this.mOBILE = mOBILE;
	}

	public String getMOBILE() 
	{
		return mOBILE;
	}
	public void setSTATUS(String sTATUS) 
	{
		this.sTATUS = sTATUS;
	}

	public String getSTATUS() 
	{
		return sTATUS;
	}
	public void setCreateTime(Date createTime) 
	{
		this.createTime = createTime;
	}

	public Date getCreateTime() 
	{
		return createTime;
	}
	public void setCompleteTime(Date completeTime) 
	{
		this.completeTime = completeTime;
	}

	public Date getCompleteTime() 
	{
		return completeTime;
	}
	public void setNOTE(String nOTE) 
	{
		this.nOTE = nOTE;
	}

	public String getNOTE() 
	{
		return nOTE;
	}
	public void setTradeTime(Date tradeTime) 
	{
		this.tradeTime = tradeTime;
	}

	public Date getTradeTime() 
	{
		return tradeTime;
	}
	public void setSourceId(String sourceId) 
	{
		this.sourceId = sourceId;
	}

	public String getSourceId() 
	{
		return sourceId;
	}
	public void setMTI(String mTI) 
	{
		this.mTI = mTI;
	}

	public String getMTI() 
	{
		return mTI;
	}
	public void setTRACK2(String tRACK2) 
	{
		this.tRACK2 = tRACK2;
	}

	public String getTRACK2() 
	{
		return tRACK2;
	}
	public void setTRACK3(String tRACK3) 
	{
		this.tRACK3 = tRACK3;
	}

	public String getTRACK3() 
	{
		return tRACK3;
	}
	public void setResponseCode(String responseCode) 
	{
		this.responseCode = responseCode;
	}

	public String getResponseCode() 
	{
		return responseCode;
	}
	public void setResponseMsg(String responseMsg) 
	{
		this.responseMsg = responseMsg;
	}

	public String getResponseMsg() 
	{
		return responseMsg;
	}
	public void setAcqResponseCode(String acqResponseCode) 
	{
		this.acqResponseCode = acqResponseCode;
	}

	public String getAcqResponseCode() 
	{
		return acqResponseCode;
	}
	public void setAcqResponseMsg(String acqResponseMsg) 
	{
		this.acqResponseMsg = acqResponseMsg;
	}

	public String getAcqResponseMsg() 
	{
		return acqResponseMsg;
	}
	public void setTerminalBatchNo(String terminalBatchNo) 
	{
		this.terminalBatchNo = terminalBatchNo;
	}

	public String getTerminalBatchNo() 
	{
		return terminalBatchNo;
	}
	public void setTerminalVoucherNo(String terminalVoucherNo) 
	{
		this.terminalVoucherNo = terminalVoucherNo;
	}

	public String getTerminalVoucherNo() 
	{
		return terminalVoucherNo;
	}
	public void setTerminalRefNo(String terminalRefNo) 
	{
		this.terminalRefNo = terminalRefNo;
	}

	public String getTerminalRefNo() 
	{
		return terminalRefNo;
	}
	public void setTerminalAuthNo(String terminalAuthNo) 
	{
		this.terminalAuthNo = terminalAuthNo;
	}

	public String getTerminalAuthNo() 
	{
		return terminalAuthNo;
	}
	public void setAcqBatchNo(String acqBatchNo) 
	{
		this.acqBatchNo = acqBatchNo;
	}

	public String getAcqBatchNo() 
	{
		return acqBatchNo;
	}
	public void setAcqRefNo(String acqRefNo) 
	{
		this.acqRefNo = acqRefNo;
	}

	public String getAcqRefNo() 
	{
		return acqRefNo;
	}
	public void setAcqAuthNo(String acqAuthNo) 
	{
		this.acqAuthNo = acqAuthNo;
	}

	public String getAcqAuthNo() 
	{
		return acqAuthNo;
	}
	public void setCardBinId(String cardBinId) 
	{
		this.cardBinId = cardBinId;
	}

	public String getCardBinId() 
	{
		return cardBinId;
	}
	public void setShouldBalanceDate(Date shouldBalanceDate) 
	{
		this.shouldBalanceDate = shouldBalanceDate;
	}

	public Date getShouldBalanceDate() 
	{
		return shouldBalanceDate;
	}
	public void setMerchantId(String merchantId) 
	{
		this.merchantId = merchantId;
	}

	public String getMerchantId() 
	{
		return merchantId;
	}
	public void setBalanceMerchantId(String balanceMerchantId) 
	{
		this.balanceMerchantId = balanceMerchantId;
	}

	public String getBalanceMerchantId() 
	{
		return balanceMerchantId;
	}
	public void setCardTypeId(String cardTypeId) 
	{
		this.cardTypeId = cardTypeId;
	}

	public String getCardTypeId() 
	{
		return cardTypeId;
	}
	public void setIssBankId(String issBankId) 
	{
		this.issBankId = issBankId;
	}

	public String getIssBankId() 
	{
		return issBankId;
	}
	public void setAgentId(String agentId) 
	{
		this.agentId = agentId;
	}

	public String getAgentId() 
	{
		return agentId;
	}
	public void setTerminalId(String terminalId) 
	{
		this.terminalId = terminalId;
	}

	public String getTerminalId() 
	{
		return terminalId;
	}
	public void setProcedureFee(BigDecimal procedureFee) 
	{
		this.procedureFee = procedureFee;
	}

	public BigDecimal getProcedureFee() 
	{
		return procedureFee;
	}
	public void setRATE(BigDecimal rATE) 
	{
		this.rATE = rATE;
	}

	public BigDecimal getRATE() 
	{
		return rATE;
	}
	public void setAcqMerchantId(String acqMerchantId) 
	{
		this.acqMerchantId = acqMerchantId;
	}

	public String getAcqMerchantId() 
	{
		return acqMerchantId;
	}
	public void setAcqTerminalId(String acqTerminalId) 
	{
		this.acqTerminalId = acqTerminalId;
	}

	public String getAcqTerminalId() 
	{
		return acqTerminalId;
	}
	public void setAcqTraceNo(String acqTraceNo) 
	{
		this.acqTraceNo = acqTraceNo;
	}

	public String getAcqTraceNo() 
	{
		return acqTraceNo;
	}
	public void setAcqId(String acqId) 
	{
		this.acqId = acqId;
	}

	public String getAcqId() 
	{
		return acqId;
	}
	public void setCreateUserId(String createUserId) 
	{
		this.createUserId = createUserId;
	}

	public String getCreateUserId() 
	{
		return createUserId;
	}
	public void setAcqTradeTime(Date acqTradeTime) 
	{
		this.acqTradeTime = acqTradeTime;
	}

	public Date getAcqTradeTime() 
	{
		return acqTradeTime;
	}
	public void setMaxFee(Integer maxFee) 
	{
		this.maxFee = maxFee;
	}

	public Integer getMaxFee() 
	{
		return maxFee;
	}
	public void setSettleListStatus(String settleListStatus) 
	{
		this.settleListStatus = settleListStatus;
	}

	public String getSettleListStatus() 
	{
		return settleListStatus;
	}
	public void setSettleCycle(Integer settleCycle) 
	{
		this.settleCycle = settleCycle;
	}

	public Integer getSettleCycle() 
	{
		return settleCycle;
	}
	public void setDC(Integer dC) 
	{
		this.dC = dC;
	}

	public Integer getDC() 
	{
		return dC;
	}
	public void setDepartmentCode(String departmentCode) 
	{
		this.departmentCode = departmentCode;
	}

	public String getDepartmentCode() 
	{
		return departmentCode;
	}
	public void setTrackNo(String trackNo) 
	{
		this.trackNo = trackNo;
	}

	public String getTrackNo() 
	{
		return trackNo;
	}
	public void setErrorMessage(String errorMessage) 
	{
		this.errorMessage = errorMessage;
	}

	public String getErrorMessage() 
	{
		return errorMessage;
	}
	public void setPayPreOrderTime(Date payPreOrderTime) 
	{
		this.payPreOrderTime = payPreOrderTime;
	}

	public Date getPayPreOrderTime() 
	{
		return payPreOrderTime;
	}
	public void setPayFinishTime(Date payFinishTime) 
	{
		this.payFinishTime = payFinishTime;
	}

	public Date getPayFinishTime() 
	{
		return payFinishTime;
	}
	public void setPayResCode(String payResCode) 
	{
		this.payResCode = payResCode;
	}

	public String getPayResCode() 
	{
		return payResCode;
	}
	public void setPayStatus(String payStatus) 
	{
		this.payStatus = payStatus;
	}

	public String getPayStatus() 
	{
		return payStatus;
	}
	public void setPayResMsg(String payResMsg) 
	{
		this.payResMsg = payResMsg;
	}

	public String getPayResMsg() 
	{
		return payResMsg;
	}
	public void setTradeSource(String tradeSource) 
	{
		this.tradeSource = tradeSource;
	}

	public String getTradeSource() 
	{
		return tradeSource;
	}
	public void setIcSerNo(String icSerNo) 
	{
		this.icSerNo = icSerNo;
	}

	public String getIcSerNo() 
	{
		return icSerNo;
	}
	public void setTradeTypeCode(String tradeTypeCode) 
	{
		this.tradeTypeCode = tradeTypeCode;
	}

	public String getTradeTypeCode() 
	{
		return tradeTypeCode;
	}
	public void setServiceIfCode(String serviceIfCode) 
	{
		this.serviceIfCode = serviceIfCode;
	}

	public String getServiceIfCode() 
	{
		return serviceIfCode;
	}
	public void setNetIncome(String netIncome) 
	{
		this.netIncome = netIncome;
	}

	public String getNetIncome() 
	{
		return netIncome;
	}
	public void setFLAG(String fLAG) 
	{
		this.fLAG = fLAG;
	}

	public String getFLAG() 
	{
		return fLAG;
	}
	
    public List<String> getMerchantIds() {
		return merchantIds;
	}

	public void setMerchantIds(List<String> merchantIds) {
		this.merchantIds = merchantIds;
	}
	
	public BigDecimal getSumMoney() {
		return sumMoney;
	}

	public void setSumMoney(BigDecimal sumMoney) {
		this.sumMoney = sumMoney;
	}

	public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("iD", getID())
            .append("orderNo", getOrderNo())
            .append("processingCode", getProcessingCode())
            .append("tradeType", getTradeType())
            .append("cardNo", getCardNo())
            .append("trxAmt", getTrxAmt())
            .append("mOBILE", getMOBILE())
            .append("sTATUS", getSTATUS())
            .append("createTime", getCreateTime())
            .append("completeTime", getCompleteTime())
            .append("nOTE", getNOTE())
            .append("tradeTime", getTradeTime())
            .append("sourceId", getSourceId())
            .append("mTI", getMTI())
            .append("tRACK2", getTRACK2())
            .append("tRACK3", getTRACK3())
            .append("responseCode", getResponseCode())
            .append("responseMsg", getResponseMsg())
            .append("acqResponseCode", getAcqResponseCode())
            .append("acqResponseMsg", getAcqResponseMsg())
            .append("terminalBatchNo", getTerminalBatchNo())
            .append("terminalVoucherNo", getTerminalVoucherNo())
            .append("terminalRefNo", getTerminalRefNo())
            .append("terminalAuthNo", getTerminalAuthNo())
            .append("acqBatchNo", getAcqBatchNo())
            .append("acqRefNo", getAcqRefNo())
            .append("acqAuthNo", getAcqAuthNo())
            .append("cardBinId", getCardBinId())
            .append("shouldBalanceDate", getShouldBalanceDate())
            .append("merchantId", getMerchantId())
            .append("balanceMerchantId", getBalanceMerchantId())
            .append("cardTypeId", getCardTypeId())
            .append("issBankId", getIssBankId())
            .append("agentId", getAgentId())
            .append("terminalId", getTerminalId())
            .append("procedureFee", getProcedureFee())
            .append("rATE", getRATE())
            .append("acqMerchantId", getAcqMerchantId())
            .append("acqTerminalId", getAcqTerminalId())
            .append("acqTraceNo", getAcqTraceNo())
            .append("acqId", getAcqId())
            .append("createUserId", getCreateUserId())
            .append("acqTradeTime", getAcqTradeTime())
            .append("maxFee", getMaxFee())
            .append("settleListStatus", getSettleListStatus())
            .append("settleCycle", getSettleCycle())
            .append("dC", getDC())
            .append("departmentCode", getDepartmentCode())
            .append("trackNo", getTrackNo())
            .append("errorMessage", getErrorMessage())
            .append("payPreOrderTime", getPayPreOrderTime())
            .append("payFinishTime", getPayFinishTime())
            .append("payResCode", getPayResCode())
            .append("payStatus", getPayStatus())
            .append("payResMsg", getPayResMsg())
            .append("tradeSource", getTradeSource())
            .append("icSerNo", getIcSerNo())
            .append("tradeTypeCode", getTradeTypeCode())
            .append("serviceIfCode", getServiceIfCode())
            .append("netIncome", getNetIncome())
            .append("fLAG", getFLAG())
            .toString();
    }

	public String getMerchantNo() {
		return merchantNo;
	}

	public String getMerchantName() {
		return merchantName;
	}

	public String getAgentNo() {
		return agentNo;
	}

	public String getAgentName() {
		return agentName;
	}
	public void setMerchantNo(String merchantNo) {
		this.merchantNo = merchantNo;
	}

	public void setMerchantName(String merchantName) {
		this.merchantName = merchantName;
	}

	public void setAgentNo(String agentNo) {
		this.agentNo = agentNo;
	}

	public void setAgentName(String agentName) {
		this.agentName = agentName;
	}

	public String getTime() {
		return time;
	}

	public void setTime(String time) {
		this.time = time;
	}

	public String getAcqNo() {
		return acqNo;
	}

	public String getAcqName() {
		return acqName;
	}

	public void setAcqNo(String acqNo) {
		this.acqNo = acqNo;
	}

	public void setAcqName(String acqName) {
		this.acqName = acqName;
	}

	public Integer getDirect() {
		return direct;
	}

	public void setDirect(Integer direct) {
		this.direct = direct;
	}
	
}
